package org.jsola.hr.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.jsola.core.Page;
import org.jsola.core.Result;
import org.jsola.log.query.ServiceLogQuery;
import org.jsola.log.vo.ServiceLogListVO;

/**
 * 服务日志
 *
 * @author june
 */
@Api(tags = "log-服务日志")
public interface IHrServiceLogControllerAPI {


    /**
     * 分页查询服务日志
     *
     * @param serviceLogQuery 服务日志查询参数
     * @return page
     */
    @ApiOperation(value = "分页查询服务日志")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "serviceLogQuery", dataType = "ServiceLogQuery", value = "服务日志查询参数", paramType = "query")
    })
    Result<Page<ServiceLogListVO>> page(ServiceLogQuery serviceLogQuery);

    /**
     * 分页查询服务日志 跨站点
     *
     * @param serviceLogQuery 服务日志查询参数
     * @return page
     */
    @ApiOperation(value = "分页查询服务日志")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "serviceLogQuery", dataType = "ServiceLogQuery", value = "服务日志查询参数", paramType = "query")
    })
    Result<Page<ServiceLogListVO>> pageNotSiteId(ServiceLogQuery serviceLogQuery);

}

